package com.css.bjdt_core.importExport.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Default;
import org.nutz.dao.entity.annotation.Table;

import lombok.Data;

@Data
@Table("RPT_BATCH_TEMPLATE_R")
public class RptBatchTemplateRelIE implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2230717926981061498L;

	@Column("BATCH_ID")
	private String id;

	@Column("GROUP_ID")
	private String groupId;

	@Column("TEMPLATE_ID")
	private String templateId;

	@Column("VALIDATION_STATE")
	@Default("2")
	private String validationState;

	//报表审核状态
	@Column("EXAMINE_STATE")
	@Default("0")
	private String examineState;

	public enum ExamineState {

		//未填报
		noFill("0"),
		//已填报
		beenFill("1"),
		//审核中
		examining("2"),
		//撤回
		withdraw("3"),
		//审核通过
		examineAhrough("4"),
		//退回
		returnReport("100");

		private String key;

		ExamineState(String key) {
			this.key = key;
		}

		public String getKey() {
			return key;
		}
	}
}
